import http from '@/utils/request';
export default {
    /**
    * 查询班级
    * @param param
    * @returns
    */
    async getClassList(param) {
        return await http.get("/api/class/list", param);
    },
    // 添加班级
    async addClass(params){
        return await http.post("/api/class/add",params)
    },
    // 修改班级
    async updateClass(params){
        return await http.put("/api/class/update",params)
    },
    // 删除班级
    async deleteClassById(params){
        return await http.delete("/api/class/delete",params)
    }
}